<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
     

      function identity(val1, val2) {
        if (val1 === val2) {
          alert(`相等`);
        } else {
          alert(`不相等`);
        }
      }

      // identity(1, 2);
      identity(1, 1);
    </script>
  </body>
</html>
